package com.locus.tools.xmpp;

import android.content.Intent;

/**
 * A interface for messages, implements generic methods for getting intended 
 * recipient, included message, and other useful functions. 
 * @author jfredett
 *
 */
public interface ISendable {
	/**
	 * Returns a string with an identifier for the intended recipient
	 * @return
	 */
	public String getRecipient();
	/**
	 * Returns a string with an identifier for the sender of the message
	 * @return
	 */
	public String getSender();
	/**
	 * Returns the message to be sent.
	 * @return
	 */
	public String getMessage();
	
	/**
	 * Create an intent from this sendable
	 * @return
	 */
	public Intent createIntent();

}
